#ifndef SETTING_H
#define SETTING_H

#include <QMainWindow>
#include<main.h>
namespace Ui {
class setting;
}

class setting : public QMainWindow
{
    Q_OBJECT

public:
    explicit setting(QWidget *parent = nullptr);
    ~setting();

private slots:
    void on_pushButton_clicked();

//    void on_horizontalSlider_rangeChanged(int min, int max);

    void on_horizontalSlider_sliderReleased();
signals:
    void windowClosed();
private:
    Ui::setting *ui;
    void closeEvent(QCloseEvent *event) override
      {
          emit windowClosed();
//          event->accept();
      }
};

#endif // SETTING_H
